package com.itwill.ecom.member;

import java.util.List;

public interface MemberDao {

	public final static String namespace = "com.itwill.ecom.member";

	/*********** Custom jUnit ***********/
	public abstract int getCount();
	
	public abstract void deleteAll();
	/******************************/
	
	/** Basic CRUD **/
	//MemberBeans 생성
	public abstract void createMember(MemberBeans memberBeans);

	//MemberBeans 찾기
	public abstract MemberBeans getMember(MemberBeans memberBeans);

	//MemberBeans 수정
	public abstract void updateMember(MemberBeans memberBeans);

	//MemberBeans 삭제
	public abstract void deleteMember(MemberBeans memberBeans);
	
	/** Custom CRUD **/
	//아이디로 멤버 찾기
	public abstract MemberBeans getMemberById(String id);

	//전체 멤버리스트 찾기
	public abstract List<MemberBeans> getMemberList();

	//전체 멤버 삭제
	public abstract void deleteMemberList();
}